<?php

$con = mysql_connect("projectffcom.ipagemysql.com", "admin_user", "poghjk123"); 
mysql_select_db(main, $con);

$search_name = $_GET['search_name'];
//remove whitespace from the front and end of the input
$search_name = trim($search_name);

$q = mysql_query("SELECT * FROM USER_INFO WHERE FULLNAME = '".$search_name."'");

$array = mysql_fetch_array($q);
for($i=0; $i < mysql_num_rows($q); $i++)
{
	echo $array['FULLNAME'];
}

?>

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
</head>

<body>
</body>
</html>